package com.jreque.persistance.redis;

import com.jreque.persistance.IQueuePersistance;
import java.util.*;
import com.jreque.queue.*;
import java.lang.*;

/**
 * Persistance model that keeps everything in Redis server.
 */
public class RedisPersistance implements IQueuePersistance {

    public RedisPersistance() {
    }
    
    /**
     * @param task 
     * @return 
     */
    public int enqueueTask(Task task) {
        return 0;
    }

    /**
     * @param queueName 
     * @param timeout 
     * @return 
     */
    public Task dequeueTask(String queueName, int timeout) {
        return null;
    }

    /**
     * @param task 
     */
    public void completeTask(Task task) {
    }

    /**
     * @param taskID 
     * @return 
     */
    public boolean deleteTask(int taskID) {
        return false;
    }

    /**
     * @param queueName 
     * @return 
     */
    public HashMap getSettings(String queueName) {
        return null;
    }

    /**
     * @param setting 
     * @param queueName 
     * @return 
     */
    public String getSetting(String queueName, String setting) {
        return null;
    }

    /**
     * @param setting 
     * @param value 
     * @param queueName 
     * @return 
     */
    public String addSetting(String queueName, String setting, String value) {
        return null;
    }

    /**
     * @param queueName 
     * @return 
     */
    public HashMap getStats(String queueName) {
        return null;
    }

    /**
     * @param statName 
     * @param value 
     * @param queueName 
     */
    public void incrementStat(String queueName, String statName, int value) {
    }
}

